package com.example.lib_base.net

import retrofit2.http.DELETE

object Const {
    const val BASE_URL = "http://10.161.9.80:2209/"
    const val USERNAME="username"
    const val UID="uid"
    const val TOKEN="token"
    const val ROLE="role"
    const val MID="mid"


    const val USER_URL = "/api/user/login"
    const val HOME_URL = "/api/announcements/getAnnouncementByUserId"
    const val REGISTER_URL = "/api/user/register"
    const val PARK_URL = "/api/parking-spaces/type/{spaceType}"
    const val ANNOUNCEMENT_URL = "/api/announcements/getAnnouncementByUserId"
    const val CAR_URL = "/api/reservations/area/{areaId}"
    const val PARK_ADD_URL = "/api/parking-spaces"
    const val REPAIR_URL = "/api/repair-orders"
    const val PERAIRBYUNAME_URL = "/api/repair-orders/search"
    const val GETPAIRBYNO_URL  = "/api/repair-orders/order-number/{orderNumber}"
    const val GETPARIRBYID_URL = "/api/repair-orders/{id}"
    const val UPDATEPAIR_URL = "/api/repair-orders/{id}"
    const val UPDATEPARK_URL = "/api/parking-spaces/{id}"
    const val ADDREPAIR_URL = "/api/repair-orders"
    const val DELETEREPAIR_URL = "/api/repair-orders/{id}"
    const val VISIT_URL = "/api/visit-appointments"
    const val VIS_STATUS_URL = "/api/visit-appointments/status/{status}"
    const val VISITBYID_URL = "/api/visit-appointments/{id}"
    const val VISIT_ADD_URL = "/api/visit-appointments"
    const val APPROVEVISTIT_URL = "/api/visit-appointments/approve/{id}"
    const val REJECTVISIT_URL = "/api/visit-appointments/reject/{id}"
    const val VISIT_DELETE_URL = "/api/visit-appointments/{id}"
    const val SIGN_LIST_URL ="/api/attendances/user/{userId}"
    const val HOUSE_URL = "/api/properties/region/{regionId}"
    const val SIGN_URL = "/api/attendances"
    const val EMP_LIST_URL = "/api/employees"

}